Allows selecting an instance of HtmlTemplater based on the theme